package com.kaifa.test;

import java.util.HashMap;
import java.util.Map;

public class MapDemo {
    public static void main(String[] args) {
        Map<String,String> mapTe = new HashMap<>();
        mapTe.put("a","“王者荣耀”游戏角色:");
        mapTe.put("b","====坦克：====");
        mapTe.put("c","白岳鑫，阴俊豪");
        mapTe.put("d","====战士:====");
        mapTe.put("e","保定东哥");
        System.out.println(mapTe);

        String str = mapTe.get("a");
        String str1 = mapTe.get("b");
        String str2= mapTe.get("c");
        String str3 = mapTe.get("d");
        String str4 = mapTe.get("e");

        System.out.println(str);
        System.out.println(str1);
        System.out.println(str2);
        System.out.println(str3);
        System.out.println(str4);

    }


}
